package com.yuyou.fn.report.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 课程消耗纪录
 *
 */
@TableName(value = "consume_record")
public class ConsumeRecord implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ConsumeRecord> createExample(){
		return new Example<ConsumeRecord>(ConsumeRecord.class);
	}

	/**  */
	@TableId(value = "consume_record_id")
	private String consumeRecordId;

	/** 年份 */
	private Integer year;

	/** 季节 */
	private String season;

	/** 校区id */
	@TableField(value = "campus_id")
	private Long campusId;

	/** 校区 */
	@TableField(value = "campus_name")
	private String campusName;

	/**  */
	@TableField(value = "course_id")
	private Long courseId;

	/** 课程名称 */
	@TableField(value = "course_name")
	private String courseName;

	/** 产品ID */
	@TableField(value = "product_id")
	private Long productId;

	/** 产品名称 */
	@TableField(value = "product_name")
	private String productName;

	/** 年级ID */
	@TableField(value = "grade_id")
	private Long gradeId;

	/** 年级名称 */
	@TableField(value = "grade_name")
	private String gradeName;

	/** 科目ID */
	@TableField(value = "subject_id")
	private Long subjectId;

	/** 科目名称 */
	@TableField(value = "subject_name")
	private String subjectName;

	/** 期ID */
	@TableField(value = "period_id")
	private Long periodId;

	/** 期名称 */
	@TableField(value = "period_name")
	private String periodName;

	/**  */
	@TableField(value = "reg_id")
	private Long regId;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	/** 学生姓名 */
	@TableField(value = "student_name")
	private String studentName;

	/** 学生编号 */
	@TableField(value = "student_no")
	private String studentNo;

	/** 学生年级ID */
	@TableField(value = "student_grade_id")
	private Long studentGradeId;

	/** 学生年级名称 */
	@TableField(value = "student_grade_name")
	private String studentGradeName;

	/** 班级ID */
	@TableField(value = "class_id")
	private Long classId;

	/** 班级名称 */
	@TableField(value = "class_name")
	private String className;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	/** 区域名称 */
	@TableField(value = "area_team_name")
	private String areaTeamName;

	/** 业务组名称 */
	@TableField(value = "bus_team_name")
	private String busTeamName;

	/** 讲ID */
	@TableField(value = "class_lecture_id")
	private Long classLectureId;

	/** 消耗金额 */
	private BigDecimal amount;

	/** 上课时间 */
	@TableField(value = "class_time")
	private Date classTime;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 类型 0:正常消耗 1:红冲消耗 2:消耗差额   */
	@TableField(value = "type")
	private Integer type;

	public String getConsumeRecordId() {
		return this.consumeRecordId;
	}

	public void setConsumeRecordId(String consumeRecordId) {
		this.consumeRecordId = consumeRecordId;
	}

	public Integer getYear() {
		return this.year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public String getSeason() {
		return this.season;
	}

	public void setSeason(String season) {
		this.season = season;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Long getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return this.subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Long getPeriodId() {
		return this.periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public String getPeriodName() {
		return this.periodName;
	}

	public void setPeriodName(String periodName) {
		this.periodName = periodName;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getStudentNo() {
		return this.studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}

	public Long getStudentGradeId() {
		return this.studentGradeId;
	}

	public void setStudentGradeId(Long studentGradeId) {
		this.studentGradeId = studentGradeId;
	}

	public String getStudentGradeName() {
		return this.studentGradeName;
	}

	public void setStudentGradeName(String studentGradeName) {
		this.studentGradeName = studentGradeName;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public String getClassName() {
		return this.className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public Long getBusTeamId() {
		return this.busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}

	public String getAreaTeamName() {
		return this.areaTeamName;
	}

	public void setAreaTeamName(String areaTeamName) {
		this.areaTeamName = areaTeamName;
	}

	public String getBusTeamName() {
		return this.busTeamName;
	}

	public void setBusTeamName(String busTeamName) {
		this.busTeamName = busTeamName;
	}

	public Long getClassLectureId() {
		return this.classLectureId;
	}

	public void setClassLectureId(Long classLectureId) {
		this.classLectureId = classLectureId;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Date getClassTime() {
		return this.classTime;
	}

	public void setClassTime(Date classTime) {
		this.classTime = classTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getRegId() {
		return regId;
	}

	public void setRegId(Long regId) {
		this.regId = regId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
